function showtips(bgid, showMaskid) {
    bgid = bgid || "bg";
    showMaskid = showMaskid || "showMask";
    let bg = document.getElementById(bgid);
    bg.style.display = "block"; //背景显示
    let showmark = document.getElementById(showMaskid);
    showmark.style.display = "block"; //背景显示
}

let bg1 = document.getElementById("bg");
bg1.addEventListener("touchmove", function (e) {
    e.stopPropagation();
    e.preventDefault();
}, false);

function closetips(bgid, showMaskid) {
    bgid = bgid || "bg";
    showMaskid = showMaskid || "showMask";
    document.getElementById(bgid).style.display = "none"; //背景显示
    document.getElementById(showMaskid).style.display = "none"; //背景显示
}


function gotopage(el) {
    let index = el.getAttribute('data-item-order');
    if (index === "0") {
        location.href = '/html/index.html';
    } else if (index === "1") {
        location.href = '/html/loan-list.html';
    } else if (index === "2") {
        location.href = '/html/interest-deduction.html';
    } else if (index === "3") {
        location.href = '/html/mypage.html';
    }
}